<div class="profiltop">TWÓJ PROFIL</div>
<div class="box boxprofile">
	
	<div class="menu">
		<div class="acenter">
			<a href="" class="button prodmenu">Profil</a>
			<a href="" class="button prodmenu">Zamówienia</a>
			<a href="" class="button prodmenu  buttonactive">Obserwowane</a>
			<a href="" class="button prodmenu">Bony</a>
		</div>
	</div>
	
	<form id="form1" method="post" action="">
	
    	<div class="boxprod">
    		<div class="photo"><img src="img/temp.jpg" alt=""></div>
    		<p class="name"><a href="">Natty's Paste Wax - Blue</a></p>
    		<p class="price">500.00 PLN</p>
            <table class="prodoption">
            	<tr>
            		<td>Pojemność:</td>
            		<td class="aleft"><select><option>Lorem ipsum</option><option>Lorem ipsum</option></select></td>
            		<td>Ilość:</td>
            		<td class="aleft"><select><option>1</option><option>2</option></select></td>
            	</tr>
            </table>
    		<p class="checkbox"><input type="checkbox" value="" name=""></p>
    	</div>
	
    	<div class="boxprod">
    		<div class="photo"><img src="img/temp.jpg" alt=""></div>
    		<p class="name"><a href="">Natty's Paste Wax - Blue</a></p>
    		<p class="price">500.00 PLN</p>
            <table class="prodoption">
            	<tr>
            		<td>Pojemność:</td>
            		<td class="aleft"><select><option>Lorem ipsum</option><option>Lorem ipsum</option></select></td>
            		<td>Ilość:</td>
            		<td class="aleft"><select><option>1</option><option>2</option></select></td>
            	</tr>
            </table>
    		<p class="checkbox"><input type="checkbox" value="" name=""></p>
    	</div>
	
	</form>
	
	<div style="width:605px; margin:0 auto">
		<p id="selectall" class="aright bold orange sh" style="margin:15px auto 10px auto">Zaznacz wszystkie</p>
		
    	<table class="selected">
    		<tr>
    			<td>Zaznaczone:</td>
    			<td><a href="" class="button">Usuń</a></td>
    			<td style="padding-right:0"><a href="" class="button">Dodaj do koszyka</a></td>
    		</tr>
    	</table>
	</div>
	
	<div class="clr"></div>
	<div class="end"></div>
</div>
<!-- end box -->

<script type="text/javascript">

	$(document).ready(function(){

		$('#selectall').click(function(){

			if($('#form1 input[type="checkbox"]').is(':checked')){
					$('#form1 input[type="checkbox"]').attr('checked',false);
				}else{
					$('#form1 input[type="checkbox"]').attr('checked',true);	
			}
		});
		
	});

</script>

